<html>
<head>
<title>Docs For Class itComplexRules</title>
<link rel="stylesheet" type="text/css" href="../media/style.css">
</head>
<body>

<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
  <tr>
    <td class="header_top">Intelligencer</td>
  </tr>
  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
  <tr>
    <td class="header_menu">
        
                                    
                              		  [ <a href="../classtrees_Intelligencer.html" class="menu">class tree: Intelligencer</a> ]
		  [ <a href="../elementindex_Intelligencer.html" class="menu">index: Intelligencer</a> ]
		  	    [ <a href="../elementindex.html" class="menu">all elements</a> ]
    </td>
  </tr>
  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
</table>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="200" class="menu">
      <b>Packages:</b><br />
              <a href="../li_Intelligencer.html">Intelligencer</a><br />
            <br /><br />
                        <b>Files:</b><br />
      	  <div class="package">
			<a href="../Intelligencer/_LibUtil---Cache---itCache.php.html">		itCache.php
		</a><br>
			<a href="../Intelligencer/_Rules---itClassRules.php.html">		itClassRules.php
		</a><br>
			<a href="../Intelligencer/_Rules---itClassRulesConvertibleI.php.html">		itClassRulesConvertibleI.php
		</a><br>
			<a href="../Intelligencer/_Rules---itComplexRules.php.html">		itComplexRules.php
		</a><br>
			<a href="../Intelligencer/_LibUtil---Exception---itException.php.html">		itException.php
		</a><br>
			<a href="../Intelligencer/_Intelligencer---itIntelligencer.php.html">		itIntelligencer.php
		</a><br>
			<a href="../Intelligencer/_itLoader.php.html">		itLoader.php
		</a><br>
			<a href="../Intelligencer/_LibUtil---Cache---itLocalCache.php.html">		itLocalCache.php
		</a><br>
			<a href="../Intelligencer/_LibUtil---Logger---itLoggerI.php.html">		itLoggerI.php
		</a><br>
			<a href="../Intelligencer/_Manager---itManager.php.html">		itManager.php
		</a><br>
			<a href="../Intelligencer/_LibUtil---Exception---itNullRulesException.php.html">		itNullRulesException.php
		</a><br>
			<a href="../Intelligencer/_LibUtil---Exception---itParameterException.php.html">		itParameterException.php
		</a><br>
			<a href="../Intelligencer/_LibUtil---Logger---itPearLogger.php.html">		itPearLogger.php
		</a><br>
			<a href="../Intelligencer/_LibUtil---Cache---itPersistentCache.php.html">		itPersistentCache.php
		</a><br>
			<a href="../Intelligencer/_LibUtil---Cache---itPersistentCacheableI.php.html">		itPersistentCacheableI.php
		</a><br>
			<a href="../Intelligencer/_Rules---itRules.php.html">		itRules.php
		</a><br>
			<a href="../Intelligencer/_Intelligencer---itRulesIntelligencer.php.html">		itRulesIntelligencer.php
		</a><br>
			<a href="../Intelligencer/_LibUtil---Scanner---itScanner.php.html">		itScanner.php
		</a><br>
			<a href="../Intelligencer/_LibUtil---Scanner---itScannerI.php.html">		itScannerI.php
		</a><br>
			<a href="../Intelligencer/_LibUtil---Scanner---itScannerResult.php.html">		itScannerResult.php
		</a><br>
			<a href="../Intelligencer/_LibUtil---Scanner---itScannerResultI.php.html">		itScannerResultI.php
		</a><br>
			<a href="../Intelligencer/_Rules---itSimpleRules.php.html">		itSimpleRules.php
		</a><br>
			<a href="../Intelligencer/_Rules---itSimpleRulesConvertibleI.php.html">		itSimpleRulesConvertibleI.php
		</a><br>
			<a href="../Intelligencer/_Template---itSimpleTemplate.php.html">		itSimpleTemplate.php
		</a><br>
			<a href="../Intelligencer/_Template---itTemplate.php.html">		itTemplate.php
		</a><br>
			<a href="../Intelligencer/_Intelligencer---itTemplateIntelligencer.php.html">		itTemplateIntelligencer.php
		</a><br>
			<a href="../Intelligencer/_LibUtil---itUtil.php.html">		itUtil.php
		</a><br>
			<a href="../Intelligencer/_Template---itZendStyleTemplate.php.html">		itZendStyleTemplate.php
		</a><br>
	  </div><br />
      
            <b>Interfaces:</b><br />
        <div class="package">
		    		<a href="../Intelligencer/itClassRulesConvertibleI.html">itClassRulesConvertibleI</a><br />
	    		<a href="../Intelligencer/itLoggerI.html">itLoggerI</a><br />
	    		<a href="../Intelligencer/itPersistentCacheableI.html">itPersistentCacheableI</a><br />
	    		<a href="../Intelligencer/itScannerI.html">itScannerI</a><br />
	    		<a href="../Intelligencer/itScannerResultI.html">itScannerResultI</a><br />
	    		<a href="../Intelligencer/itSimpleRulesConvertibleI.html">itSimpleRulesConvertibleI</a><br />
	  </div>
      
            <b>Classes:</b><br />
        <div class="package">
		    		<a href="../Intelligencer/itCache.html">itCache</a><br />
	    		<a href="../Intelligencer/itClassRules.html">itClassRules</a><br />
	    		<a href="../Intelligencer/itComplexRules.html">itComplexRules</a><br />
	    		<a href="../Intelligencer/itException.html">itException</a><br />
	    		<a href="../Intelligencer/itIntelligencer.html">itIntelligencer</a><br />
	    		<a href="../Intelligencer/itLoader.html">itLoader</a><br />
	    		<a href="../Intelligencer/itLocalCache.html">itLocalCache</a><br />
	    		<a href="../Intelligencer/itManager.html">itManager</a><br />
	    		<a href="../Intelligencer/itNullRulesException.html">itNullRulesException</a><br />
	    		<a href="../Intelligencer/itParameterException.html">itParameterException</a><br />
	    		<a href="../Intelligencer/itPearLogger.html">itPearLogger</a><br />
	    		<a href="../Intelligencer/itPersistentCache.html">itPersistentCache</a><br />
	    		<a href="../Intelligencer/itRules.html">itRules</a><br />
	    		<a href="../Intelligencer/itRulesIntelligencer.html">itRulesIntelligencer</a><br />
	    		<a href="../Intelligencer/itScanner.html">itScanner</a><br />
	    		<a href="../Intelligencer/itScannerResult.html">itScannerResult</a><br />
	    		<a href="../Intelligencer/itSimpleRules.html">itSimpleRules</a><br />
	    		<a href="../Intelligencer/itSimpleTemplate.html">itSimpleTemplate</a><br />
	    		<a href="../Intelligencer/itTemplate.html">itTemplate</a><br />
	    		<a href="../Intelligencer/itTemplateIntelligencer.html">itTemplateIntelligencer</a><br />
	    		<a href="../Intelligencer/itUtil.html">itUtil</a><br />
	    		<a href="../Intelligencer/itZendStyleTemplate.html">itZendStyleTemplate</a><br />
	  </div>
                </td>
    <td>
      <table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">

<h1>Class: itComplexRules</h1>
Source Location: /Rules/itComplexRules.php<br /><br />


<table width="100%" border="0">
<tr><td valign="top">

<h3><a href="#class_details">Class Overview</a></h3>
<pre><a href="../Intelligencer/itRules.html">itRules</a>
   |
   --itComplexRules</pre><br />
<div class="description">Complex rules extend the functionality of SimpleRules. In SimpleRules case you can add just a file or a list of files.</div><br /><br />
<h4>Author(s):</h4>
<ul>
          <li>drapeko</li>
      </ul>




    

                <p class="implements">
            Implements interfaces:
            <ul>
                <li><a href="../Intelligencer/itSimpleRulesConvertibleI.html">itSimpleRulesConvertibleI</a></li>            </ul>
        </p>
        
</td>

<td valign="top">
<h3><a href="#class_vars">Variables</a></h3>
<ul>
    <li><a href="../Intelligencer/itComplexRules.html#var$basePath">$basePath</a></li>
    <li><a href="../Intelligencer/itComplexRules.html#var$dotDirEnabled">$dotDirEnabled</a></li>
    <li><a href="../Intelligencer/itComplexRules.html#var$extensions">$extensions</a></li>
    <li><a href="../Intelligencer/itComplexRules.html#var$minusDirs">$minusDirs</a></li>
    <li><a href="../Intelligencer/itComplexRules.html#var$minusFiles">$minusFiles</a></li>
    <li><a href="../Intelligencer/itComplexRules.html#var$plusDirs">$plusDirs</a></li>
    <li><a href="../Intelligencer/itComplexRules.html#var$plusFiles">$plusFiles</a></li>
    <li><a href="../Intelligencer/itComplexRules.html#var$plusRecursiveDirs">$plusRecursiveDirs</a></li>
    <li><a href="../Intelligencer/itComplexRules.html#var$strictExtensions">$strictExtensions</a></li>
  </ul>
</td>


<td valign="top">
<h3><a href="#class_methods">Methods</a></h3>
<ul>
    <li><a href="../Intelligencer/itComplexRules.html#methodformatExtensions">formatExtensions</a></li>
    <li><a href="../Intelligencer/itComplexRules.html#methodgetExtensions">getExtensions</a></li>
    <li><a href="../Intelligencer/itComplexRules.html#methodgetPrefix">getPrefix</a></li>
    <li><a href="../Intelligencer/itComplexRules.html#methodisDotDirEnabled">isDotDirEnabled</a></li>
    <li><a href="../Intelligencer/itComplexRules.html#methodisFileOk">isFileOk</a></li>
    <li><a href="../Intelligencer/itComplexRules.html#methodisStrictExtensions">isStrictExtensions</a></li>
    <li><a href="../Intelligencer/itComplexRules.html#methodminusDir">minusDir</a></li>
    <li><a href="../Intelligencer/itComplexRules.html#methodminusFile">minusFile</a></li>
    <li><a href="../Intelligencer/itComplexRules.html#methodplusDir">plusDir</a></li>
    <li><a href="../Intelligencer/itComplexRules.html#methodplusFile">plusFile</a></li>
    <li><a href="../Intelligencer/itComplexRules.html#methodpreDirs">preDirs</a></li>
    <li><a href="../Intelligencer/itComplexRules.html#methodpreFiles">preFiles</a></li>
    <li><a href="../Intelligencer/itComplexRules.html#methodscan">scan</a></li>
    <li><a href="../Intelligencer/itComplexRules.html#methodsetDotDirEnabled">setDotDirEnabled</a></li>
    <li><a href="../Intelligencer/itComplexRules.html#methodsetExtensions">setExtensions</a></li>
    <li><a href="../Intelligencer/itComplexRules.html#methodsetPrefix">setPrefix</a></li>
    <li><a href="../Intelligencer/itComplexRules.html#methodsetStrictExtensions">setStrictExtensions</a></li>
    <li><a href="../Intelligencer/itComplexRules.html#methodtoSimpleRules">toSimpleRules</a></li>
  </ul>
</td>

</tr></table>
<hr />

<table width="100%" border="0"><tr>




<td valign="top">
<h3>Inherited Variables</h3>
<div class="tags">
<h4>Class: <a href="../Intelligencer/itRules.html">itRules</a></h4>
<dl>
<dt>
  <a href="../Intelligencer/itRules.html#var$intelligencer">itRules::$intelligencer</a>
  </dt>
<dd>
   
</dd>
</dl>
</div>
</td>

<td valign="top">
<h3>Inherited Methods</h3>
<div class="tags">
<h4>Class: <a href="../Intelligencer/itRules.html">itRules</a></h4>
<dl>
    <dt>
    <a href="../Intelligencer/itRules.html#methodgetIntelligencer">itRules::getIntelligencer()</a>
  </dt>
  <dd>
    Returns the Intelligencer that uses these rules
  </dd>
    <dt>
    <a href="../Intelligencer/itRules.html#methodsetIntelligencer">itRules::setIntelligencer()</a>
  </dt>
  <dd>
    Sets the Intelligencer that uses these rules
  </dd>
  </dl>
</div>
</td>

</tr></table>
<hr />

<a name="class_details"></a>
<h3>Class Details</h3>
<div class="tags">
[line <a href="../__filesource/fsource_Intelligencer__RulesitComplexRules.php.html#a19">19</a>]<br />
Complex rules extend the functionality of SimpleRules. In SimpleRules case you can add just a file or a list of files.<br /><br /><p>Complex rules allow you to write instructions like &quot;Add recursively all &quot;php&quot; and &quot;class.php&quot; files of the particular directory  excluding file A.php, file B.php and directory C&quot;. This gives you an oportunity to write powerful instructions just with a couple of lines.</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>author:</b>&nbsp;&nbsp;</td><td>drapeko</td>
  </tr>
</table>
</div>
</div><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br />

<hr />
<a name="class_vars"></a>
<h3>Class Variables</h3>
<div class="tags">
	<a name="var$basePath"></a>
	<p></p>
	<h4>$basePath = <span class="value">&nbsp;''</span></h4>
	<p>[line <a href="../__filesource/fsource_Intelligencer__RulesitComplexRules.php.html#a21">21</a>]</p>
  <br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>mixed</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$dotDirEnabled"></a>
	<p></p>
	<h4>$dotDirEnabled = <span class="value">&nbsp;false</span></h4>
	<p>[line <a href="../__filesource/fsource_Intelligencer__RulesitComplexRules.php.html#a29">29</a>]</p>
  <br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>mixed</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$extensions"></a>
	<p></p>
	<h4>$extensions = <span class="value">array('php')</span></h4>
	<p>[line <a href="../__filesource/fsource_Intelligencer__RulesitComplexRules.php.html#a27">27</a>]</p>
  <br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>mixed</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$minusDirs"></a>
	<p></p>
	<h4>$minusDirs = <span class="value">array()</span></h4>
	<p>[line <a href="../__filesource/fsource_Intelligencer__RulesitComplexRules.php.html#a25">25</a>]</p>
  <br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>mixed</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$minusFiles"></a>
	<p></p>
	<h4>$minusFiles = <span class="value">array()</span></h4>
	<p>[line <a href="../__filesource/fsource_Intelligencer__RulesitComplexRules.php.html#a26">26</a>]</p>
  <br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>mixed</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$plusDirs"></a>
	<p></p>
	<h4>$plusDirs = <span class="value">array()</span></h4>
	<p>[line <a href="../__filesource/fsource_Intelligencer__RulesitComplexRules.php.html#a22">22</a>]</p>
  <br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>mixed</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$plusFiles"></a>
	<p></p>
	<h4>$plusFiles = <span class="value">array()</span></h4>
	<p>[line <a href="../__filesource/fsource_Intelligencer__RulesitComplexRules.php.html#a24">24</a>]</p>
  <br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>mixed</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$plusRecursiveDirs"></a>
	<p></p>
	<h4>$plusRecursiveDirs = <span class="value">array()</span></h4>
	<p>[line <a href="../__filesource/fsource_Intelligencer__RulesitComplexRules.php.html#a23">23</a>]</p>
  <br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>mixed</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$strictExtensions"></a>
	<p></p>
	<h4>$strictExtensions = <span class="value">&nbsp;false</span></h4>
	<p>[line <a href="../__filesource/fsource_Intelligencer__RulesitComplexRules.php.html#a28">28</a>]</p>
  <br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>mixed</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
</div><br />

<hr />
<a name="class_methods"></a>
<h3>Class Methods</h3>
<div class="tags">

  <hr />
	<a name="methodformatExtensions"></a>
	<h3>method formatExtensions <span class="smalllinenumber">[line <a href="../__filesource/fsource_Intelligencer__RulesitComplexRules.php.html#a220">220</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void formatExtensions(
)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		<br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>
<br /><br />

	
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodgetExtensions"></a>
	<h3>method getExtensions <span class="smalllinenumber">[line <a href="../__filesource/fsource_Intelligencer__RulesitComplexRules.php.html#a110">110</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>array getExtensions(
)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Returns the extensions<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodgetPrefix"></a>
	<h3>method getPrefix <span class="smalllinenumber">[line <a href="../__filesource/fsource_Intelligencer__RulesitComplexRules.php.html#a45">45</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>string getPrefix(
)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Returns the prefix<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodisDotDirEnabled"></a>
	<h3>method isDotDirEnabled <span class="smalllinenumber">[line <a href="../__filesource/fsource_Intelligencer__RulesitComplexRules.php.html#a159">159</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>boolean isDotDirEnabled(
)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Returns whether dot directories are enabled<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodisFileOk"></a>
	<h3>method isFileOk <span class="smalllinenumber">[line <a href="../__filesource/fsource_Intelligencer__RulesitComplexRules.php.html#a227">227</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void isFileOk(

$file)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		<br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">&nbsp;&nbsp;</td>
        <td><b>$file</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodisStrictExtensions"></a>
	<h3>method isStrictExtensions <span class="smalllinenumber">[line <a href="../__filesource/fsource_Intelligencer__RulesitComplexRules.php.html#a141">141</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>boolean isStrictExtensions(
)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Returns whether strict extensions mode is set<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodminusDir"></a>
	<h3>method minusDir <span class="smalllinenumber">[line <a href="../__filesource/fsource_Intelligencer__RulesitComplexRules.php.html#a69">69</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code><a href="../Intelligencer/itComplexRules.html">itComplexRules</a> minusDir(
string
$location)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Adds the instruction to exclude the directory from the rules.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>return:</b>&nbsp;&nbsp;</td><td>itself</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$location</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodminusFile"></a>
	<h3>method minusFile <span class="smalllinenumber">[line <a href="../__filesource/fsource_Intelligencer__RulesitComplexRules.php.html#a89">89</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code><a href="../Intelligencer/itComplexRules.html">itComplexRules</a> minusFile(
string
$location)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Adds the instruction to exclude the file from the rules.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>return:</b>&nbsp;&nbsp;</td><td>itself</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$location</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodplusDir"></a>
	<h3>method plusDir <span class="smalllinenumber">[line <a href="../__filesource/fsource_Intelligencer__RulesitComplexRules.php.html#a55">55</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code><a href="../Intelligencer/itComplexRules.html">itComplexRules</a> plusDir(
string
$location, [boolean
$recursive = false])</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Adds the instruction to include the whole directory into the rules. Directory can be added recursively.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>return:</b>&nbsp;&nbsp;</td><td>itself</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$location</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
          <tr>
        <td class="type">boolean&nbsp;&nbsp;</td>
        <td><b>$recursive</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodplusFile"></a>
	<h3>method plusFile <span class="smalllinenumber">[line <a href="../__filesource/fsource_Intelligencer__RulesitComplexRules.php.html#a79">79</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code><a href="../Intelligencer/itComplexRules.html">itComplexRules</a> plusFile(
string
$location)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Adds the instruction to include the file into the rules.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>return:</b>&nbsp;&nbsp;</td><td>itself</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$location</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodpreDirs"></a>
	<h3>method preDirs <span class="smalllinenumber">[line <a href="../__filesource/fsource_Intelligencer__RulesitComplexRules.php.html#a268">268</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void preDirs(

$dirs, [
$exclude = array()])</code>
    </td></tr></table>
    </td></tr></table><br />
	
		<ol><li>Excludes non-existent files</li></ol><br /><br /><p>2. files that exist in the second array parameter  3. absolute path</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">&nbsp;&nbsp;</td>
        <td><b>$dirs</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
          <tr>
        <td class="type">&nbsp;&nbsp;</td>
        <td><b>$exclude</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodpreFiles"></a>
	<h3>method preFiles <span class="smalllinenumber">[line <a href="../__filesource/fsource_Intelligencer__RulesitComplexRules.php.html#a247">247</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void preFiles(

$files, [
$exclude = array()])</code>
    </td></tr></table>
    </td></tr></table><br />
	
		<ol><li>Excludes non-existent files</li></ol><br /><br /><p>2. files that exist in the second array parameter  3. absolute path</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">&nbsp;&nbsp;</td>
        <td><b>$files</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
          <tr>
        <td class="type">&nbsp;&nbsp;</td>
        <td><b>$exclude</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodscan"></a>
	<h3>method scan <span class="smalllinenumber">[line <a href="../__filesource/fsource_Intelligencer__RulesitComplexRules.php.html#a194">194</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void scan(

$dir, 
$recursive, 
&$result, 
&$processedRecursiveDirs, 
&$minusDirs)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		<br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">&nbsp;&nbsp;</td>
        <td><b>$dir</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
          <tr>
        <td class="type">&nbsp;&nbsp;</td>
        <td><b>$recursive</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
          <tr>
        <td class="type">&nbsp;&nbsp;</td>
        <td><b>&$result</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
          <tr>
        <td class="type">&nbsp;&nbsp;</td>
        <td><b>&$processedRecursiveDirs</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
          <tr>
        <td class="type">&nbsp;&nbsp;</td>
        <td><b>&$minusDirs</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodsetDotDirEnabled"></a>
	<h3>method setDotDirEnabled <span class="smalllinenumber">[line <a href="../__filesource/fsource_Intelligencer__RulesitComplexRules.php.html#a150">150</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code><a href="../Intelligencer/itComplexRules.html">itComplexRules</a> setDotDirEnabled(
[boolean
$val = true])</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Sets the instruction to enable/disable directories starting with dots. By default these directories are disabled.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>return:</b>&nbsp;&nbsp;</td><td>itself</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">boolean&nbsp;&nbsp;</td>
        <td><b>$val</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodsetExtensions"></a>
	<h3>method setExtensions <span class="smalllinenumber">[line <a href="../__filesource/fsource_Intelligencer__RulesitComplexRules.php.html#a101">101</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code><a href="../Intelligencer/itComplexRules.html">itComplexRules</a> setExtensions(

$extensions, string
$location)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Adds the instruction to include files only with the following extensions. By default 'php' extension is used.<br /><br /><p>You can use both 'php' and '.php' as an extension.</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>return:</b>&nbsp;&nbsp;</td><td>itself</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$location</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
          <tr>
        <td class="type">&nbsp;&nbsp;</td>
        <td><b>$extensions</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodsetPrefix"></a>
	<h3>method setPrefix <span class="smalllinenumber">[line <a href="../__filesource/fsource_Intelligencer__RulesitComplexRules.php.html#a36">36</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code><a href="../Intelligencer/itClassRules.html">itClassRules</a> setPrefix(
$basePath
$basePath)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Sets the prefix that will be added to all locations when you call getClass()<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>return:</b>&nbsp;&nbsp;</td><td>itself</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">$basePath&nbsp;&nbsp;</td>
        <td><b>$basePath</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodsetStrictExtensions"></a>
	<h3>method setStrictExtensions <span class="smalllinenumber">[line <a href="../__filesource/fsource_Intelligencer__RulesitComplexRules.php.html#a132">132</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code><a href="../Intelligencer/itComplexRules.html">itComplexRules</a> setStrictExtensions(
[boolean
$val = true])</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Sets whether extensions should be strict. If the strict extensions mode is set Intelligencer will treat the characters till the first dot.<br /><br /><p>For example file A.class.php won't be included in the below case:  <ol><li><div class="src-line">&nbsp;&nbsp;&nbsp;<span class="src-var">$rules&nbsp;</span>=&nbsp;<span class="src-key">new&nbsp;</span><span class="src-id"><a href="../Intelligencer/itComplexRules.html">itComplexRules</a></span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;<span class="src-var">$rules</span><span class="src-sym">-&gt;</span><a href="../Intelligencer/itComplexRules.html#methodsetExtensions">setExtensions</a><span class="src-sym">(</span><span class="src-str">'php'</span><span class="src-sym">)</span><span class="src-sym">-&gt;</span><a href="../Intelligencer/itComplexRules.html#methodsetStrictExtensions">setStrictExtensions</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
</ol></p><p>And will be included in the following case:  <ol><li><div class="src-line">&nbsp;&nbsp;&nbsp;<span class="src-var">$rules&nbsp;</span>=&nbsp;<span class="src-key">new&nbsp;</span><span class="src-id"><a href="../Intelligencer/itComplexRules.html">itComplexRules</a></span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;<span class="src-var">$rules</span><span class="src-sym">-&gt;</span><a href="../Intelligencer/itComplexRules.html#methodsetExtensions">setExtensions</a><span class="src-sym">(</span><span class="src-str">'php'</span><span class="src-sym">)</span><span class="src-sym">-&gt;</span><a href="../Intelligencer/itComplexRules.html#methodsetStrictExtensions">setStrictExtensions</a><span class="src-sym">(</span><span class="src-id">false</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
</ol></p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>return:</b>&nbsp;&nbsp;</td><td>itself</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">boolean&nbsp;&nbsp;</td>
        <td><b>$val</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodtoSimpleRules"></a>
	<h3>method toSimpleRules <span class="smalllinenumber">[line <a href="../__filesource/fsource_Intelligencer__RulesitComplexRules.php.html#a167">167</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void toSimpleRules(
)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		(non-PHPdoc)<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>see:</b>&nbsp;&nbsp;</td><td>toSimpleRules()</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

			<hr class="separator" />
		<div class="notes">Implementation of:</div>
			<dl>
			<dt><a href="../Intelligencer/itSimpleRulesConvertibleI.html#methodtoSimpleRules">itSimpleRulesConvertibleI::toSimpleRules()</a></dt>
						<dd>Converts current rules into Simple Rules. Returns new instance of itSimpleRules.</dd>
					</dl>
		
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
</div><br />


        <div class="credit">
		    <hr />
		    Documentation generated on Sat, 24 Apr 2010 17:13:09 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
	      </div>
      </td></tr></table>
    </td>
  </tr>
</table>

</body>
</html>